home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Add-Ons / MPW / MPW noweb 2.7 / src / Makefile < prev    next >
Encoding:
Makefile  |  1995-10-03  |  994 b   |  36 lines  |  [TEXT/MPS ]

  1. # Copyright 1995 by Norman Ramsey.  All rights reserved.
  2. # See file COPYRIGHT for more information.
  3. #
  4.  
  5. # BIN is where the commands (notangle, noweave, nountangle, noroots) land
  6. # LIB is where the pieces of the pipes (nt, markup, unmarkup) are stored
  7. # TEXINPUTS is the directory for TeX macro files
  8. BIN            =    {MPW}LocalTools:
  9. LIB            =    {MPW}LocalTools:noweb-components:
  10. TEXINPUTS    =    {MPW}TeX:TeX-inputs:noweb
  11.  
  12. all            ƒ
  13.     directory :c
  14.     Set Echo 0
  15.     buildprogram all
  16.     directory ::
  17.     Set Echo 1
  18.  
  19. install        ƒ install-code install-tex
  20.  
  21. install-codeƒ
  22.     For cmd in noweb notangle noweave nountangle nodefs noroots cpif 
  23.         Perl -pe 's/\|\|LIB\|\|/'"{LIB}"'/' :perl:{cmd} >{BIN}{cmd}
  24.     End
  25.     Begin
  26.         Backup -a -c -to {LIB}     ∂
  27.             :c:nt :c:markup :c:mnt :c:finduses :icon:l2h ∂
  28.             :perl:unmarkup :perl:emptydefn :perl:tohtml :perl:noidx
  29.     End>{TempFolder}noweb.run
  30.     {TempFolder}noweb.run
  31. install-texƒ
  32.     Begin
  33.         Backup -a -c -to {TEXINPUTS} :tex:nwmac.tex :tex:noweb.sty
  34.     End>{TempFolder}noweb.run
  35.     {TempFolder}noweb.run
  36.